// 对用户模块请求的封装
import request from 'utils/request.js'
/**
 * 登录
 * @param {*} data {mobile,code,agree}
 * @returns
 */
export const login = data => {
  return request({
    url: '/v1_0/authorizations',
    method: 'POST',
    data
  })
}
